Docs: Clarify what `cargo test` compiles vs. runs
authorMatt Brubeck <mbrubeck@limpet.net>
Mon, 2 Nov 2015 19:21:30 +0000 (11:21 -0800)
committerMatt Brubeck <mbrubeck@limpet.net>
Mon, 2 Nov 2015 19:36:25 +0000 (11:36 -0800)
src/doc/manifest.md

index c00f33c0241352ab6cee3cb12d4f2d7156671ea7..d30001fef81bb21b8150283b1b91716dfd2cffd4 100644 (file)
@@ -424,11 +424,11 @@ your tests to protect them from bitrotting.
 
 When you run `cargo test`, Cargo will:
 
-* Compile your library's unit tests, which are in files reachable from
+* Compile and run your library's unit tests, which are in files reachable from
   `lib.rs`. Any sections marked with `#[cfg(test)]` will be included.
-* Compile your library’s documentation tests, which are embedded inside
-  of documentation blocks.
-* Compile your library's integration tests, which are located in
+* Compile and run your library’s documentation tests, which are embedded
+  inside of documentation blocks.
+* Compile and run your library's integration tests, which are located in
   `tests`. Files in `tests` load in your library by using `extern crate
   <library-name>` like any other code that depends on it.
 * Compile your library's examples.